// constSpringDataSet.cpp: implementation of the ConstSpringDataSet class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "constSpringDataSet.h"
#include "ProductCatalogManager.h"
#include "PersistentFacade.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
using namespace JointSystem;
ConstSpringDataSet::ConstSpringDataSet()
{

}

ConstSpringDataSet::~ConstSpringDataSet()
{

}

StandardOfConstSpring* ConstSpringDataSet::GetStandardOfConstSpring()
{
/*	ASSERT(!this->GetDataStandard().IsEmpty());
	ProductCatalog* pCatalog = ProductCatalogManager::Instance()->
		GetProductCatalog(this->GetDataStandard());
	ASSERT(pCatalog);

	Standard* pStandard = GetPersistentFacade().GetStandardGenerator()->Generate(pCatalog);
	ASSERT(pCatalog);

	ASSERT(pStandard->GetStyle() == StandardGenerator::eCONSTSPRING);
	StandardOfConstSpring* pSpring = static_cast<StandardOfConstSpring*>(pStandard);

	return pSpring;*/
	StandardOfConstSpring* pSpring = NULL;
	return this->GetStandard(pSpring);
}